package com.woniu.defecttracking.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.woniu.defecttracking.entity.BugType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author tiangle
 * @since 2021-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)

public class BugTypeDto {


    @ApiModelProperty(value = "主键")
    @TableId(value = "bug_type_id", type = IdType.AUTO)
      private Integer bugTypeId;

    @ApiModelProperty(value = "编号")
    private String bugTypeNum;

    @ApiModelProperty(value = "缺陷分类类名")
    private String bugTypeName;

    @ApiModelProperty(value = "状态 0有效，1禁用")
    private Integer status;

    private Integer isdel;

    private List<BugType> bugTypes;


}
